package com.colin.app.activity.main;

import android.support.v4.app.Fragment;
import android.support.v4.view.ViewPager;
import android.widget.RadioGroup;

import com.colin.app.app.AppActivity;
import com.colin.library.base.BaseModel;
import com.colin.library.base.BasePresenter;
import com.colin.library.base.BaseView;

import java.util.List;

/**
 * Created by Colin on 2017/1/15.
 */

public interface MainContract {
    interface MainView extends BaseView {

        void initViewPager(List<Integer> fragmentIDList, List<Fragment> fragmentList);
    }

    interface MainPresenter extends BasePresenter {
        void select(int position, ViewPager viewPager, RadioGroup radiogroup);
    }

    interface MainModel extends BaseModel {

        List<Integer> getFragmentIDList();

        List<Fragment> getFragmentList(AppActivity mAppActivity);

        int getPosition();

        void setPosition(int position);
    }
}
